﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using LLKanWebService.BLL;
using LLKanWebService.Model;
public partial class test : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        UserManager usm = new UserManager();
        List<Users> userlist = usm.benevolenceTimeIsNotNull();
        TimeSpan a =DateTime.Now - userlist[0].BenvolenceTime.Value ;
        Response.Write("day:" + a.TotalDays + "hour:" + a.TotalHours + "minute:" + a.TotalMinutes + "seconds" + a.TotalSeconds);
    }
}